/**
 * ProductYieldRatioMapperExt
 * Copyright © 2015 - 2017 
 * All rights reserved.
 * -----------------------------------
 * 2017-12-28  Created
 */
package com.lzy.product.dao;

import com.lzy.product.dtos.ProductYieldRatioDto;
import org.apache.ibatis.annotations.Param;

import javax.annotation.Resource;
import java.util.List;

@Resource
public interface ProductYieldRatioMapperExt extends ProductYieldRatioMapper {

    //根据产品id查询出卡券套餐返现比
    List<ProductYieldRatioDto> queryListByProductId(@Param("productId") Long productId);
    //根据产品id删除
    int delByProductId(@Param("productId") Long productId);

}